package com.dameng.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dameng.system.entity.SystemDept;
import com.dameng.system.mapper.SystemDeptMapper;
import com.dameng.system.service.SystemDeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SystemDeptServiceImpl extends ServiceImpl<SystemDeptMapper, SystemDept> implements SystemDeptService {

    @Resource
    SystemDeptMapper systemDeptMapper;

    @Override
    public List<String> childDeptByDeptId(String deptId) {
        return systemDeptMapper.childDeptByDeptId(deptId);
    }
}
